package com.park.service;

import com.park.bean.Tickets;
import com.park.bean.TicketsCap;
import com.park.bean.TicketsType;
import com.park.util.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ITicketsCapService {

    List<TicketsCap> getTicketsCap(TicketsCap ticketsCap,  Page page);
    List<Integer> getTicketsId(TicketsCap ticketsCap);
    List<Tickets> getTicketsByName(String name);
    List<String> getAttractsName(TicketsCap ticketsCap);
    //List<TicketsCap> getTickets(TicketsCap ticketsCap);
    boolean duplicateCheck(TicketsCap ticketsCap);
    boolean checkTid(Integer id);
    boolean checkTname(String name);
    boolean checkAname(String name);
    int getCount(TicketsCap ticketsCap);
    int delTicketsCap(int id);
    int postTicketsCap(TicketsCap ticketsCap);
    int editTicketsCap(TicketsCap ticketsCap);
}
